package net.qiqb.execute;

import lombok.Getter;
import org.javers.core.metamodel.annotation.TypeName;
import org.javers.core.metamodel.annotation.ValueObject;

import java.io.Serializable;

@ValueObject()
@TypeName("id")
public class UserId implements Serializable {
    @Getter
    private final String id;

    public UserId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "UserId{" +
                "id='" + id + '\'' +
                '}';
    }
}
